﻿// Copyright (c) 2014 Converter Systems LLC

using ConverterSystems.ServiceModel;
using System.ComponentModel.Composition;

namespace ConverterSystems.Workstation.Infrastructure
{
    /// <summary>
    /// A UaSession for communicating with TestServer.
    /// </summary>
    [Export]
    public class TestServerSession : UaSession
    {
        [ImportingConstructor]
        public TestServerSession(UaConfiguration config)
            : base(config, "opc.tcp://localhost:51212")
        {
            DefaultSubscription.PublishingInterval = 500;
        }
    }
}